import React from 'react'
import './index.less'

export default props => {
  const { title='', fontSize=18, fontColor="#fff", fontWeight="normal" } = props
  return (
    <p 
      className="sub-title" 
      style={{ 
        fontSize, 
        color: fontColor,
        fontWeight
      }}
    >{title}</p>
  )
}